package com.open.capacity.reimburse.entity;

import cn.hutool.core.date.DateTime;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 合同表
 *
 * @author
 * @email
 * @date 2021-02-24 18:00:18
 */

@Data
public class HtAgreement implements Serializable {
    private static final long serialVersionUID = 1L;


    private String id;

    private String category;

    private String number;

    private String otherUnits;

    private String title;

    private String summary;

    private BigDecimal money;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date startTime;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date endTime;

    private Integer warningDay;

    private String files;

    private String authType;

    private Integer status;

    private String createUserid;

    private String createUsername;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private String updateUserid;

    private String updateUsername;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    private List<HtAgreementPay> payList;

}
